#ifndef VHISTORYSESSION_H
#define VHISTORYSESSION_H

#include <QFrame>
#include "CTableSession.h"

namespace Ui {
class VHistorySession;
}

class VHistorySession : public QFrame
{
    Q_OBJECT

public:
    explicit VHistorySession(const StSession &sessionInfo, QWidget *parent = nullptr);
    ~VHistorySession();

    QString diffHuman(QDateTime dt);
protected:
    void mousePressEvent(QMouseEvent *event) override;
private:
    Ui::VHistorySession *ui;
    QString m_strId;
};

#endif // VHISTORYSESSION_H
